import * as MenuActions from './actions';

export default ( state = MenuActions.initState, action ) => {
	switch ( action.type ) {
		case MenuActions.SET_MENU:
			return [ ...action.menu ];
		default:
			return state;
	}
};


